﻿using B.S.Sterilizationcenter.ErrorCode;
using MediatR;

namespace B.S.Sterilizationcenter.Writer.API.Appliaction.Commends.Yjb.ConsumableMaterials
{
    public class AddConsumableMaterialCommand : IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 主键
        /// </summary>
        public int ConsumableId { get; set; }

        /// <summary>
        /// 耗材分类
        /// </summary>
        public string Consumabletype { get; set; }

        /// <summary>
        /// 耗材编码，唯一标识该耗材，用于系统内数据关联与检索
        /// </summary>
        public string ConsumableCode { get; set; }

        /// <summary>
        /// 耗材名称，描述耗材的业务名称
        /// </summary>
        public string ConsumableName { get; set; }

        /// <summary>
        /// 规格，记录耗材的规格参数或型号信息
        /// </summary>。。。。。。。。。
        public string Specification { get; set; }

        /// <summary>
        /// 单位，如“个”“盒”“米”等计量单元
        /// </summary>
        public string Unit { get; set; }

        /// <summary>
        /// 单价，单位货币，精确到小数点后两位（如 10.50）
        /// </summary>
        public decimal UnitPrice { get; set; }

        /// <summary>
        /// 生产厂商，记录耗材的生产企业名称
        /// </summary>
        public string Manufacturer { get; set; }

        /// <summary>
        /// 状态，标识耗材当前是否可用（如 "正常" "停用" "报废" 等）
        /// </summary>
        public bool Status { get; set; }

        /// <summary>
        ///删除按钮
        /// </summary>
        public bool IsDElete { get; set; }
    }
}
